package com.itheima.demo02;

public class DemoTest {
    public static void main(String[] args) {
        Phone phone = new Phone();
        //旧手机调用call方法：
        phone.call();

        System.out.println("===============");

        newPhone newPhone = new newPhone();
        newPhone.call();
    }
}
